Port MODELACCESS - DEFAULT¶
Model access
Stimulation¶
此端口不具备激励能力。
Supported execution modes¶
另请参见:时间模式的特殊说明
Preferred time source/mode: Continuous simulation time
- Real-time:
To use real-time mode, the Test configuration in the Execution tab must be configured as the source ‘real time’.
- Continuous simulation time:
To use the continuous simulation mode, the port in the Test configuration in the Execution tab must be selected and the mode set to ‘continuous’.
Info
The following modes are not supported: Stepwise simulation time
Properties 🛈¶
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
Time resolution [ms] |
10.0 |
float |
仿真时间分辨率,单位为毫秒(仿真步长)。每当仿真中经过这样一段时间,Vector SIL Kit 便向 ecu.test 通知当前仿真时间。时间分辨率应大致与其他仿真参与者所用数值一致。 |
||
限制仿真速度 |
☐ |
bool |
如果 Vector SIL Kit 中的模型时间明显快于系统时间,某些情况下可能会出现问题。若观察到丢包、意外超时、无法保持的周期时间等,则应激活此选项。 |
||
Maximum ratio of model time to system time |
限制仿真速度 |
1.0 |
float |
将模型时间的速度限制为系统时间的此倍数。如果超过该限制,ecu.test 将相应地延迟仿真。 |
Jobs 🛈¶
GetSimulationTime¶
Determines the current simulation time in the Vector SIL kit if the model port was selected as time source in the TCF
Parameterization
返回值
Name |
在以下情况下可用 |
默认值 |
有效值 |
Type |
Description |
|---|---|---|---|---|---|
result |
float |
Simulation time in seconds |